/*
*
* SystemRoleMapper.java
* Copyright(C) 2017-2020 fendo公司
* @date 2019-02-17
*/
package cn.house.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import cn.house.dto.SystemRoleSelect;
import cn.house.entity.SystemRole;
import cn.house.example.SystemRoleExample;

@Mapper
public interface SystemRoleMapper {
	/**
	 *
	 * @mbg.generated
	 */
	long countByExample(SystemRoleExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int deleteByExample(SystemRoleExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int deleteByPrimaryKey(Long id);

	/**
	 *
	 * @mbg.generated
	 */
	int insert(SystemRole record);

	/**
	 *
	 * @mbg.generated
	 */
	int insertSelective(SystemRole record);

	/**
	 *
	 * @mbg.generated
	 */
	List<SystemRole> selectByExample(SystemRoleExample example);

	/**
	 *
	 * @mbg.generated
	 */
	SystemRole selectByPrimaryKey(Long id);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByExampleSelective(@Param("record") SystemRole record, @Param("example") SystemRoleExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByExample(@Param("record") SystemRole record, @Param("example") SystemRoleExample example);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByPrimaryKeySelective(SystemRole record);

	/**
	 *
	 * @mbg.generated
	 */
	int updateByPrimaryKey(SystemRole record);

	SystemRoleSelect selectByid(Long id);
}